ad2d64bc641061890099e8a921bdc22032913772,source/jetbrains/mps/bootstrap/helgins/runtime/RuntimeSupport.java,RuntimeSupport,typeOf,#SNode#,32
Before Change
public SNode typeOf(SNode node) {
if (node == null) return null;
SNode type = NodeTypesComponentsRepository.getInstance()
.getNodeTypesComponent(node.getContainingRoot()).getType(node);
if (type != null) return type;
Map<SNode, SNode> typesContext = myTypeChecker.getMainContext();
After Change
public SNode typeOf(SNode node) {
if (node == null) return null;
NodeTypesComponent nodeTypesComponent = NodeTypesComponentsRepository.getInstance()
.getNodeTypesComponent(node.getContainingRoot());
SNode type;
if (nodeTypesComponent != null) {
type = nodeTypesComponent.getType(node);
if (type != null) return type;
}